package com.itheima.reggie;

import com.itheima.reggie.filter.LoginCheckFilter;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

@ServletComponentScan//专门扫描web原生技术注解@WebServlet @WebFilter @WebListener
@MapperScan("com.itheima.reggie.mapper")
@SpringBootApplication
@Slf4j
@EnableWebMvc
public class ReggieTakeOutApplication {

    public static void main(String[] args) {
        SpringApplication.run(ReggieTakeOutApplication.class, args);
        log.info("消息");
    }

}